package org.example.dao;

import org.example.entity.User;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 用户Dao接口
 */
public interface UserDao {
    /**
     * 根据账号查询用户
     * @param conn
     * @param account
     * @return
     * @throws SQLException
     */
    User selectByAccount(Connection conn, String account) throws SQLException;


}
